﻿using Cl.Model.DataBaseEntityDtos.Goods.BaseGoods;
using Cl.Model.Results;
using Cl.Utils.Primitives.Interface;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cl.Service.Service.Goods.BaseGoods
{
    public interface IBaseGoodsService : IScopedService
    {
        Task<ResultInfoModel> Save(BaseGoodsInputDto obj);

        Task<ResultInfoModel> Delete(List<int> ids);

        Task<ResultInfoModel> Update(BaseGoodsInputDto obj);

        Task<PageResultModel<BaseGoodsOutputDto>> Query(SearchBaseGoodsDto request);


        Task<ResultInfoModel> Audit(List<int> goodsId, string auditResult, string auditRemark);


        Task<ResultInfoModel> UploadGoodsImageFile([FromForm] GoodsFileInputDto obj);
    }
}
